home *** CD-ROM | disk | FTP | other *** search
- Path: maverick.tad.eds.com!news-admin@tad.eds.com
- From: Erick Wagner <wagnere@netcom.com>
- Newsgroups: comp.lang.c
- Subject: Re: Data Conversions
- Date: 9 Feb 1996 16:53:21 GMT
- Organization: PRC
- Message-ID: <4ffu61$eo3@maverick.tad.eds.com>
- References: <4fbfqp$fsk@madeline.INS.CWRU.Edu>
- NNTP-Posting-Host: 148.94.8.235
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
- mab22@po.CWRU.Edu (Michael A. Balfour) wrote:
- >Are there any pre-existing routines to do data conversions?
-
- If numeric data is being exchanged between different platforms,
- wouldn't it be advisable to transfer the values as text characters
- (0-9, x'30'-x'39' in ASCII and x'F0'-x'F9' in EBCDIC)?
-
- It seems that if you have some control over the programs being used on
- either end then each of these could directly deal with the native data
- types and convert to a universal format.
-
- Erick
-
-